home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1996 #15 / Monster Media Number 15 (Monster Media)(July 1996).ISO / prog_bas / nkbvc11.zip / KNOB.H < prev    next >
C/C++ Source or Header  |  1996-04-11  |  2KB  |  76 lines

  1. #ifndef __KNOB_H__
  2. #define __KNOB_H__
  3.  
  4. // Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++
  5.  
  6. // NOTE: Do not modify the contents of this file.  If this class is regenerated by
  7. //  Microsoft Visual C++, your modifications will be overwritten.
  8.  
  9. /////////////////////////////////////////////////////////////////////////////
  10. // CKnob wrapper class
  11.  
  12. class CKnob : public CWnd
  13. {
  14. protected:
  15.     DECLARE_DYNCREATE(CKnob)
  16. public:
  17.     CLSID const& GetClsid()
  18.     {
  19.         static CLSID const clsid
  20.             = { 0x7bb4d420, 0x4c40, 0x11cf, { 0x94, 0xe5, 0x0, 0x0, 0xc0, 0x57, 0x17, 0x40 } };
  21.         return clsid;
  22.     }
  23.     virtual BOOL Create(LPCTSTR lpszClassName,
  24.         LPCTSTR lpszWindowName, DWORD dwStyle,
  25.         const RECT& rect,
  26.         CWnd* pParentWnd, UINT nID,
  27.         CCreateContext* pContext = NULL)
  28.     { return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID); }
  29.  
  30.     BOOL Create(LPCTSTR lpszWindowName, DWORD dwStyle,
  31.         const RECT& rect, CWnd* pParentWnd, UINT nID,
  32.         CFile* pPersist = NULL, BOOL bStorage = FALSE,
  33.         BSTR bstrLicKey = NULL)
  34.     { return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID,
  35.         pPersist, bStorage, bstrLicKey); }
  36.  
  37. // Attributes
  38. public:
  39.     unsigned long GetNeedleColor();
  40.     void SetNeedleColor(unsigned long);
  41.     unsigned long GetBorderColor();
  42.     void SetBorderColor(unsigned long);
  43.     short GetMin();
  44.     void SetMin(short);
  45.     short GetMax();
  46.     void SetMax(short);
  47.     short GetPos();
  48.     void SetPos(short);
  49.     long GetOuterBevel();
  50.     void SetOuterBevel(long);
  51.     long GetInnerBevel();
  52.     void SetInnerBevel(long);
  53.     short GetOuterBevelWidth();
  54.     void SetOuterBevelWidth(short);
  55.     short GetInnerBevelWidth();
  56.     void SetInnerBevelWidth(short);
  57.     short GetBorderWidth();
  58.     void SetBorderWidth(short);
  59.     unsigned long GetShadowColor();
  60.     void SetShadowColor(unsigned long);
  61.     unsigned long GetHiliteColor();
  62.     void SetHiliteColor(unsigned long);
  63.     long GetOrientation();
  64.     void SetOrientation(long);
  65.     unsigned long GetFaceColor();
  66.     void SetFaceColor(unsigned long);
  67.     OLE_COLOR GetBackColor();
  68.     void SetBackColor(OLE_COLOR);
  69.  
  70. // Operations
  71. public:
  72.     void AboutBox();
  73. };
  74.  
  75. #endif // __KNOB_H__
  76.